<template>
  <el-card class="avue_height">
    <search :keyName="keyName" @search="search" @resetSearch="resetSearch" ref="search" />
    <el-tabs v-model="keyName" type="card" @tab-click="callback">
      <el-tab-pane :label="tab.salesAnalysis" name="1">
        <salesAnalysis ref="salesAnalysis" />
      </el-tab-pane>
      <el-tab-pane :label="tab.SalesDetails" name="2">
        <SalesDetails ref="SalesDetails" />
      </el-tab-pane>
    </el-tabs>
  </el-card>
</template>

<script src='./index'></script>

<style lang="scss">
</style>